package com.xindacloud.sms.adapter.service.business;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xindacloud.sms.adapter.dto.SearchMessageDTO;
import com.xindacloud.sms.adapter.entity.SmsSubmissionRecord;
import com.xindacloud.sms.adapter.vo.SearchMessageVO;

import java.util.Collection;

public interface ISmsSubmissionRecordService extends IService<SmsSubmissionRecord> {


    boolean insertBatch(Collection<SmsSubmissionRecord> entityList);

    boolean updateStatusFor(SmsSubmissionRecord smsSubmissionRecord);

    boolean updateSmsSubmissionRecordFor(SmsSubmissionRecord smsSubmissionRecord);

    IPage<SearchMessageVO> searchMessage(SearchMessageDTO searchMessageDTO);

    SmsSubmissionRecord querySmsSubmissionRecord(SmsSubmissionRecord smsSubmissionRecord);

}
